﻿//  --------------------------------
//  Copyright (c) AW Systems, Inc. All rights reserved.
//  This source code is made available under the terms of the Microsoft Public License (Ms-PL)
//  http://www.codeplex.com/SLAM/license
//  ---------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AWS.SLAM.Events;
using StructureMap.Configuration.DSL;

namespace AWS.SLAM.StructureMap
{
    public class DefaultListTypeProfile : ITypeProfile
    {   
        #region ITypeProfile Members

        public void CreateProfile(Registry registry, string name)
        {
            registry.CreateProfile(name).
                For<IItemCreator>().UseConcreteType<ListItemCreator>().
                For<IItemDeleter>().UseConcreteType<ListItemDeleter>().
                For<IItemUpdater>().UseConcreteType<ListItemUpdater>();
        }

        #endregion
    }
}
